package br.com.binding.client;

import br.com.binding.client.mock.FormView;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Glue4Gwt implements EntryPoint {

	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		FormView binded = GWT.create(FormView.class);
		Label label = new Label();
		label.setText(binded.getClass().getName());
		RootPanel.get().add(binded);
		RootPanel.get().add(label);
	}
}
